<?php $this->load->view('header') ?>

<!-- CONTENT -->
<div id="content">
<div class="column full">
		
		<div class="box">
		<div class="box-header">Tambah AlatDetail</div>
		<div class="box-content">
        <?php echo isAccess('klinik','alatDetail','view') ? anchor('klinik/alatDetail/view/alatId/'.get_data($uri,'alatId'), '<span class="icon_text preview"></span>Daftar AlatDetail', 'class="button white"') : ''; ?>
        <br /><br />      
        
            <?php if (isset($errorMessage)) : ?>
            	<div class="notification <?php echo ((isset($isSuccess) && $isSuccess) ? 'success' : 'error');?>"><?php echo $errorMessage; ?></div>
	        <?php endif; ?>    	
	        
	        <?php //if (!(isset($isSuccess) && $isSuccess)) : ?>
            <?php  echo form_open('klinik/alatDetail/edit/alatId/'.get_data($uri,'alatId').'/id/'.get_data($uri,'id').'/time/' . time(),array('name'=>'formAddAlatDetail','id'=>'formAddAlatDetail','class'=>'frModalLoad'),array('kirim'=>'kirim')); ?>
            <table>
                <tr>
                    <td width="150">Nama</td>
                    <td>
                        <br /><?php echo form_input(array('name'=>'alatDetailNama','value'=>get_data($dataEdit,'alatDetailNama'), 'class'=> 'form-field full'));?>
                    </td>
                </tr>
                <tr>
                    <td>Satuan</td>
                    <td>
                        <br /><?php echo form_input(array('name'=>'alatDetailSatuan','value'=>get_data($dataEdit,'alatDetailSatuan'), 'class'=> 'form-field full'));?>
                    </td>
                </tr>
                <tr>
                    <td>Produsen</td>
                    <td>
                        <br /><?php echo form_input(array('name'=>'alatDetailProdusen','value'=>get_data($dataEdit,'alatDetailProdusen'), 'class'=> 'form-field full'));?>
                    </td>
                </tr>
                <tr>
                    <td>Harga</td>
                    <td>
                        <br /><?php echo form_input(array('name'=>'alatDetailHarga','value'=>get_data($dataEdit,'alatDetailHarga'),'class'=>'form-field full'));?>
                    </td>
                </tr>
                <tr>
                    <td>Harga Jual</td>
                    <td>
                        <br /><?php echo form_input(array('name'=>'alatDetailHargaJual','value'=>get_data($dataEdit,'alatDetailHargaJual'),'class'=>'form-field full'));?>
                    </td>
                </tr>
                <tr>
                    <td>&nbsp;</td>
                    <td>
                        <?php echo form_submit('submit','Simpan', 'class="button themed"');?>
                    </td>
                </tr>
            </table>
            </form>
            <br />
			<?php //endif;?>
			
          </div>
        </div>
      </div>
      <!-- End Widget-->
      
      <div class="clear"></div>
    </div>
  </div> 
<?php $this->load->view('footer') ?>